package com.futureCloudMOM.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.futureCloudMOM.core.entity.FBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Basic_Class", description = "班制信息")
@TableName(value = "Basic_Class")
public class BasicClass extends FBaseEntity implements Serializable {


    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("班次编码")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "code")
    private String code;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("班次名称")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "name")
    private String name;
    
    @ApiModelProperty("启用标识")
    @TableField(value = "status")
    private Long status;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("备注")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "remark")
    private String remark;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("上班时间")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "beginTime")
    private String beginTime;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("下班时间")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "endTime")
    private String endTime;
    
    @ApiModelProperty("")
    @TableField(value = "onWorkMinute")
    private Long onWorkMinute;
    
    @ApiModelProperty("")
    @TableField(value = "offWorkMinute")
    private Long offWorkMinute;






}

